package com.leadingsoft.pwxk.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.leadingsoft.pwxk.dto.DrainManaDto;
import com.leadingsoft.pwxk.service.DrainManaService;

/**
 * @author: lipan 2018年5月17日
 * @description: ( 排污节点及污染治理设施信息 )
 * 
 */
@RestController
@RequestMapping("api/drainMana")
public class DrainManaController {

	@Autowired
	private DrainManaService drainManaService;

	@GetMapping("/{dataid}")
	DrainManaDto get(@PathVariable(value = "dataid") String dataid) {
		return drainManaService.get(dataid);
	}

}
